import { createApp } from "vue"
// import "./style.css"
import "normalize.css/normalize.css"
import "./style/index.scss"
import "virtual:uno.css"
import App from "./App.vue"
import route from "./router/index"
import { createPinia } from "pinia"
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"
import element from "./plugins/element"
import "./permission.ts"
import directives from "./directives/index.ts"
const pinia = createPinia()
// 安装持久化插件
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)
app.use(route)
app.use(pinia)
app.mount("#app")
app.use(element)
app.use(directives)
